package com.gsy.request;


import com.gsy.aop.annotation.NotRequired;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author lby
 * @version 1.0
 * @description: TODO
 * @date 2020/5/14 15:50
 */
@ApiModel(value = "Id请求", description = "Id请求")
public class IdRequest extends BaseRequest {

    @ApiModelProperty(name = "id", value = "id", dataType = "Long", example = "2348065704130904064", required = true)
    private Long id;

    @NotRequired
    @ApiModelProperty(name = "curr", value = "分页页码", dataType = "Integer", example = "1")
    private Integer curr;

    @NotRequired
    @ApiModelProperty(name = "nums", value = "分页条数", dataType = "Integer", example = "10")
    private Integer nums;

    public Integer getCurr() {
        return curr;
    }

    public void setCurr(Integer curr) {
        this.curr = curr;
    }

    public Integer getNums() {
        return nums;
    }

    public void setNums(Integer nums) {
        this.nums = nums;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
